import React, {Component} from 'react'

class Children extends Component {
    constructor(props) {
        super(props)
        this.myName = this.myName.bind(this);
    }

    componentDidMount() {
        this.props.onRefs(this);
    }

    myName() {
        alert('gewenjie')
    };


    render() {
        return (
            <div>
                111
            </div>
        );
    }
}

export default Children